/*    */
package client.status;

/*    */ public class NewMonsterStatusEffect {
    private int skillid;
    /*    */   private int localDuration;
    /*    */   private Integer x;
    /*    */   private long starttime;

    /*    */
    /*  7 */
    public void setSkillid(int skillid) {
        this.skillid = skillid;
    }

    public void setLocalDuration(int localDuration) {
        this.localDuration = localDuration;
    }

    public void setX(Integer x) {
        this.x = x;
    }

    public void setStarttime(long starttime) {
        this.starttime = starttime;
    }

    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof NewMonsterStatusEffect)) return false;
        NewMonsterStatusEffect other = (NewMonsterStatusEffect) o;
        if (!other.canEqual(this)) return false;
        if (getSkillid() != other.getSkillid()) return false;
        if (getLocalDuration() != other.getLocalDuration()) return false;
        Object this$x = getX(), other$x = other.getX();
        return ((this$x == null) ? (other$x != null) : !this$x.equals(other$x)) ? false : (!(getStarttime() != other.getStarttime()));
    }

    protected boolean canEqual(Object other) {
        return other instanceof NewMonsterStatusEffect;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        result = result * 59 + getSkillid();
        result = result * 59 + getLocalDuration();
        Object $x = getX();
        result = result * 59 + (($x == null) ? 43 : $x.hashCode());
        long $starttime = getStarttime();
        return result * 59 + (int) ($starttime >>> 32L ^ $starttime);
    }

    public String toString() {
        return "NewMonsterStatusEffect(skillid=" + getSkillid() + ", localDuration=" + getLocalDuration() + ", x=" + getX() + ", starttime=" + getStarttime() + ")";
    }

    public NewMonsterStatusEffect(int skillid, int localDuration, Integer x, long starttime) {
        /*  8 */
        this.skillid = skillid;
        this.localDuration = localDuration;
        this.x = x;
        this.starttime = starttime;
        /*    */
    }

    /*    */
    /* 11 */
    public int getSkillid() {
        return this.skillid;
    }

    public int getLocalDuration() {
        return this.localDuration;
    }

    /* 12 */
    public Integer getX() {
        return this.x;
    }

    public long getStarttime() {
        /* 13 */
        return this.starttime;
        /*    */
    }

    /*    */
    public boolean shouldCancel(long now) {
        /* 16 */
        return (this.starttime + (this.localDuration * 1000) <= now);
        /*    */
    }
}


/* Location:              C:\PGX\Server.jar!\client\status\NewMonsterStatusEffect.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */